package org.jeecg.modules.cert.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 从业人员证件表
 * @Author: jeecg-boot
 * @Date:   2023-12-21
 * @Version: V1.0
 */
@Data
@TableName("practice_cert")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="practice_cert对象", description="从业人员证件表")
public class PracticeCert implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**证件类型*/
	@Excel(name = "证件类型", width = 15, dicCode = "cert_type")
	@Dict(dicCode = "cert_type")
    @ApiModelProperty(value = "证件类型")
    private String certType;
	/**从业资格号*/
	@Excel(name = "从业资格号", width = 15)
    @ApiModelProperty(value = "从业资格号")
    private String pracCertNum;
	/**从业资格代码*/
	@Excel(name = "从业资格代码", width = 15)
    @ApiModelProperty(value = "从业资格代码")
    private String pracTypeCode;
	/**准教车型*/
	@Excel(name = "准教车型", width = 15)
    @ApiModelProperty(value = "准教车型")
    private String teachingVehicles;
	/**资格证初领日期*/
	@Excel(name = "资格证初领日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "资格证初领日期")
    private Date pracCertFirstDate;
	/**资格证有效期始*/
	@Excel(name = "资格证有效期始", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "资格证有效期始")
    private Date pracCertStartDate;
	/**资格证有效期止*/
	@Excel(name = "资格证有效期止", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "资格证有效期止")
    private Date pracCertEndDate;
	/**资格证发放日期*/
	@Excel(name = "资格证发放日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "资格证发放日期")
    private Date pracCertIssueDate;
	/**证件状态代码*/
	@Excel(name = "证件状态代码", width = 15, dicCode = "cert_state")
	@Dict(dicCode = "cert_state")
    @ApiModelProperty(value = "证件状态代码")
    private String certState;
	/**从业状态代码*/
	@Excel(name = "从业状态代码", width = 15, dicCode = "prac_state")
	@Dict(dicCode = "prac_state")
    @ApiModelProperty(value = "从业状态代码")
    private String pracState;
	/**管辖机构Id*/
	@Excel(name = "管辖机构Id", width = 15)
    @ApiModelProperty(value = "管辖机构Id")
    private String orgId;
	/**行政区划代码*/
	@Excel(name = "行政区划代码", width = 15)
    @ApiModelProperty(value = "行政区划代码")
    private String areaCode;
	/**发证机构*/
	@Excel(name = "发证机构", width = 15)
    @ApiModelProperty(value = "发证机构")
    private String issueOrg;
	/**从业人员Id*/
	@Excel(name = "从业人员Id", width = 15)
    @ApiModelProperty(value = "从业人员Id")
    private String pracId;
}
